//
//  xsHadAddMaterialListCollectionView.h
//  digital_robot_demo
//
//  Created by xskj on 2024/8/30.
//

#import <UIKit/UIKit.h>
#import "xsHadAddMaterialListCollectionViewHeadView.h"
#import "xsHadAddMaterialListCollectionViewCell.h"

NS_ASSUME_NONNULL_BEGIN


@protocol xsHadAddMaterialListCollectionViewProtoCol <NSObject>

@optional
//collectionType;// 0全部 3图片 1视频
// 0时 fileType传@""  3时fileType传@"3" 1时fileType传@"1"
- (void)xsHadAddMaterialListCollectionCellBeClick:(xsSelectAddMaterialCollectionViewCellModel *)model withCollectionType:(NSInteger)collectionType;

//collectionType;// 0全部 3图片 1视频
- (void)xsHadAddMaterialListCollectionCellTopXbuttonBeClick:(xsSelectAddMaterialCollectionViewCellModel *)model withCollectionType:(NSInteger)collectionType;

@end

@interface xsHadAddMaterialListCollectionView : UICollectionView

@property (nonatomic,strong)NSArray *materialDataArray;

//collectionType;// 0全部 3图片 1视频
// 0时 fileType传@""  3时fileType传@"3" 1时fileType传@"1"
- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout withCollectionType:(NSInteger)collectionType;

@property (nonatomic,assign)id<xsHadAddMaterialListCollectionViewProtoCol> delegateConfigurationMusic;

//- (void)xsHadAddMaterialListCollectionDeleteWithModel:(xsSelectAddMaterialCollectionViewCellModel *)dModel withCollectionType:(NSInteger)collecionTyp;

@end

NS_ASSUME_NONNULL_END
